﻿using habbo.Habbo.Characters;
using habbo.Kernel.Packets.Interfaces;
using habbo.Kernel.Packets.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace habbo.Kernel.Packets.com.sulake.habbo.communication.messages.incoming.user
{
    class WatchProfileMessageEvent : IMessageEvent
    {
        public void Invoke(Network.Session Session, Messages.ClientPacket Packet)
        {
            Character Character;
            if (SystemApp.HabboSystem.CharacterManager.GetCharacter(Packet.PopFixedInt32(), out Character))
            {
                ServerPacket watchProfile = new ServerPacket(2868);
                watchProfile.Append(Character.Id);
                watchProfile.Append(Character.Username);
                watchProfile.Append(Character.Figure);
                watchProfile.Append(Character.Motto);
                watchProfile.Append("25-05-2004");
                watchProfile.Append(10);
                watchProfile.Append(1);
                watchProfile.Append(false);
                watchProfile.Append(false);
                watchProfile.Append(false);
                watchProfile.Append(0);
                watchProfile.Append(60000);
                watchProfile.Append(true);
                Session.Send(watchProfile);
            }
        }
    }
}
